module.exports = {
  name: 'remix-solidity',
  preset: '../../jest.config.js',
  verbose: true,
  silent: false, // Silent console messages, specially the 'remix-simulator' ones
  transform: {
    '^.+\\.[tj]sx?$': ['ts-jest',
      {
        useESM: true,
      }]
  },
  transformIgnorePatterns: ["/node_modules/", "/dist/", "\\.pnp\\.[^\\/]+$"],
  rootDir: "./",
  testTimeout: 40000,
  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json'],
  // Coverage
  collectCoverage: true,
  coverageReporters: ['text', 'text-summary'],
  collectCoverageFrom: [
    "**/*.ts",
    "!**/sol/**",
    "!src/types.ts",
    "!src/logger.ts"
  ],
  coverageDirectory: '../../coverage/libs/remix-solidity'
};
